﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="XemDiemPhuHuynh.aspx.cs"
    Inherits="TDT_Project.XemDiemPhuHuynh" %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="css/Telerik.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body style="background:#82C0FF">
  <form id="form1" runat="server">
    <div class="header">
        <div style="width: 960px; margin: 0 auto">
            <img src="images/header.png" />
        </div>
    </div>
    <div class="menu">
        <ul>
            <li><a href="#">Trang chủ</a>|</li>
            <li><a href="#">Trang chủ</a>|</li>
            <li><a href="#">Trang chủ</a>|</li>
            <li><a href="#">Trang chủ</a>|</li>
            <li><a href="#">Trang chủ</a></li>
        </ul>
    </div>
    <div style="width: 980px; margin: 0 auto; min-height: 500px">
      
        <style type="text/css">
            .UpdateProgressContent
            {
                padding: 40px;
                border: 1px dashed #C0C0C0;
                background-color: #FFFFFF;
                width: 200px;
                text-align: center;
                vertical-align: bottom;
                z-index: 1001;
                top: 40%;
                margin: 0px;
                margin-left: -141px;
                position: absolute;
            }
            
            .NoUnderLine
            {
                text-decoration: none !important;
            }
            .rcbSlide
            {
                z-index: 8001 !important;
            }
            .RadGrid_Default .rgHeader, .RadGrid_Default th.rgResizeCol
            {
                /*background: none !important;*/
            }
            /*.tdItem
    {
        padding: 0px !important;
    }*/
            .gridWiewHeader
            {
                background-color: #2D79F8 !important;
                padding: 0 !important;
            }
            .rgHeader gridWiewHeader
            {
                padding: 0 !important;
            }
            .gridWiew td
            {
                border: none;
                border-bottom: 1px solid #96CAFF !important;
            }
            .gridWiewHeader tr
            {
                height: 5px !important;
            }
            .style1
            {
                color: #FFFFFF;
            }
            .style2
            {
                width: 841px;
            }
            .style3
            {
                width: 112px;
            }
            .style6
            {
                width: 103px;
                font-weight: bold;
            }
            .style8
            {
                width: 121px;
                font-weight: bold;
            }
            .style9
            {
                width: 161px;
            }
            .style10
            {
                width: 107px;
            }
            .style11
            {
                width: 137px;
            }
            .style12
            {
                width: 133px;
            }
        </style>
        <p>
        </p>
        <p>
        </p>
        <div style="text-align: center; font-weight: bold; color: Red;">
            <h3>
                PHIẾU LIÊN LẠC</h3>
        </div>
        <div style="padding-top: 20px; padding-left: 115px; padding-right: 95px">
            <table cellpadding="1" cellspacing="10" class="style2">
                <tr>
                    <td class="style3" rowspan="5">
                       
                        &nbsp;</td>
                    <td align="left" class="style6">
                        Họ và Tên:
                    </td>
                    <td class="style9">
                        <asp:Label ID="lbl_hoten" runat="server" Text="Label" Font-Bold="True" ForeColor="White"></asp:Label>
                    </td>
                    <td align="left" class="style8">
                        Năm sinh:
                    </td>
                    <td>
                        <asp:Label ID="lblnamsinh" runat="server" Text="Label" Font-Bold="True" ForeColor="White"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td align="left" class="style6">
                        Nơi Sinh:
                    </td>
                    <td class="style9">
                        <asp:Label ID="lblnoisinh" runat="server" Text="Label" Font-Bold="True" ForeColor="White"></asp:Label>
                    </td>
                    <td align="left" class="style8">
                        Địa chỉ:
                    </td>
                    <td>
                        <asp:Label ID="lbldiachi" runat="server" Text="Label" Font-Bold="True" ForeColor="White"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td align="left" class="style6">
                        Lớp:
                    </td>
                    <td class="style9">
                        <asp:Label ID="lbllop" runat="server" Text="Label" Font-Bold="True" ForeColor="White"></asp:Label>
                    </td>
                    <td align="left" class="style8">
                        Giới tính:
                    </td>
                    <td>
                        <asp:Label ID="lblnamnhaphoc" runat="server" Text="Label" Font-Bold="True" ForeColor="White"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td align="left" class="style6">
                        &nbsp;
                    </td>
                    <td class="style9">
                        &nbsp;
                    </td>
                    <td align="left" class="style8">
                        &nbsp;
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
            </table>
        </div>
        <div style="width: 863px; padding-left: 115px; padding-top: 10px;">
            <asp:RadioButtonList ID="rdo_HK" runat="server" RepeatColumns="2" 
                RepeatDirection="Horizontal" Width="118px" AutoPostBack="True" onselectedindexchanged="rdo_HK_SelectedIndexChanged" 
                >
                <asp:ListItem Selected="True" Value="0">HK1</asp:ListItem>
                <asp:ListItem Value="1">HK2</asp:ListItem>
            </asp:RadioButtonList>
        </div>
        <div style="width: 863px; padding-left: 115px; padding-top: 10px;">
            <asp:ScriptManager ID="ScriptManager1" runat="server">
            </asp:ScriptManager>               
            <telerik:RadGrid ID="gvResult" runat="server" AutoGenerateColumns="False" Width="844px"
                PageSize="50" HeaderStyle-CssClass="gridWiewHeader" PagerStyle-HorizontalAlign="Right"
                AlternatingRowStyle-CssClass="alt" PagerStyle-CssClass="gridWiewPaging" CellSpacing="0"
                GridLines="None">
                <HeaderStyle CssClass="gridWiewHeader" />
                <PagerStyle Mode="NextPrevNumericAndAdvanced" />
                <MasterTableView NoMasterRecordsText="Không tìm thấy dữ liệu." DataKeyNames="HocSinh_ID"
                    TableLayout="Fixed">
                    <CommandItemSettings ExportToPdfText="Export to PDF" />
                    <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column" Visible="True">
                    </RowIndicatorColumn>
                    <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column" Visible="True">
                    </ExpandCollapseColumn>
                    <Columns>
                        <telerik:GridBoundColumn DataField="TenMonHoc" ItemStyle-HorizontalAlign="Center"
                            HeaderStyle-HorizontalAlign="Center" HeaderText="Môn" UniqueName="TenMonHoc"
                            ReadOnly="True" HeaderStyle-Width="150">
                            <ItemStyle HorizontalAlign="Left" />
                        </telerik:GridBoundColumn>
                        <telerik:GridTemplateColumn HeaderText="STT" ItemStyle-HorizontalAlign="Center" HeaderStyle-HorizontalAlign="Center">
                            <HeaderStyle Width="100px" />
                            <HeaderTemplate>
                                <table style="border-collapse: collapse !important; height: 45px; width: 100px;">
                                    <tr>
                                        <td colspan="2" style="border-left: none !important; border-top: none !important;
                                            border-right: none !important; border-bottom: 1px solid #96CAFF !important; padding-bottom: 0px !important;">
                                            Kiểm tra miệng
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="border-left: none !important; border-top: none !important; border-right: 1px solid #96CAFF !important;
                                            border-bottom: none !important; width: 50px;">
                                            Lần 1
                                        </td>
                                        <td style="border-left: none !important; border-top: none !important; border-right: none !important;
                                            border-bottom: none !important;">
                                            Lần 2
                                        </td>
                                    </tr>
                                </table>
                            </HeaderTemplate>
                            <ItemStyle />
                            <ItemTemplate>
                                <table style="border-collapse: collapse !important; height: 30px; width: 100px !important;">
                                    <tr>
                                        <td align="center" style="border-left: none !important; border-top: none !important;
                                            border-right: 1px solid #96CAFF !important; border-bottom: none !important;
                                            width: 31px !important;">
                                            <%# Eval("M1")%>
                                        </td>
                                        <td align="center" style="border-left: none !important; border-top: none !important;
                                            border-right: none !important; border-bottom: none !important;">
                                            <%# Eval("M2")%>
                                        </td>
                                    </tr>
                                </table>
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn HeaderText="STT" ItemStyle-HorizontalAlign="Center" HeaderStyle-HorizontalAlign="Center">
                            <HeaderStyle Width="210px" />
                            <HeaderTemplate>
                                <table style="border-collapse: collapse !important; height: 45px; width: 210px;">
                                    <tr>
                                        <td colspan="5" style="border-left: none !important; border-top: none !important;
                                            border-right: none !important; border-bottom: 1px solid #96CAFF !important; padding-bottom: 0px !important;">
                                            Kiểm tra 15'
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="border-left: none !important; border-top: none !important; border-right: 1px solid #96CAFF !important;
                                            border-bottom: none !important; width: 50px;">
                                            Lần 1
                                        </td>
                                        <td style="border-left: none !important; border-top: none !important; border-right: 1px solid #96CAFF !important;
                                            border-bottom: none !important;">
                                            Lần 2
                                        </td>
                                        <td style="border-left: none !important; border-top: 1px solid #96CAFF !important;
                                            border-right: 1px solid #96CAFF !important; border-bottom: none !important;">
                                            Lần 3
                                        </td>
                                        <td style="border-left: none !important; border-top: 1px solid #96CAFF !important;
                                            border-right: none !important; border-bottom: none !important;">
                                            Lần 4
                                        </td>
                                    </tr>
                                </table>
                            </HeaderTemplate>
                            <ItemStyle />
                            <ItemTemplate>
                                <table style="border-collapse: collapse !important; height: 30px; width: 200px !important;">
                                    <tr>
                                        <td align="center" style="border-left: none !important; border-top: none !important;
                                            border-right: 1px solid #96CAFF !important; border-bottom: none !important;;
                                            width: 30px;">
                                            <%# Eval("P1")%>
                                        </td>
                                        <td align="center" style="border-left: none !important; border-top: none !important;
                                            border-right: 1px solid #96CAFF !important; border-bottom: none !important;
                                            width: 36px;">
                                            <%# Eval("P2")%>
                                        </td>
                                        <td align="center" style="border-left: none !important; border-top: none !important;
                                            border-right: 1px solid #96CAFF !important; border-bottom: none !important;
                                            width: 36px;">
                                            <%# Eval("P3")%>
                                        </td>
                                        <td align="center" style="border-left: none !important; border-top: none !important;
                                            border-right: none !important; border-bottom: none !important;
                                            width: 36px;">
                                            <%# Eval("P4")%>
                                        </td>
                                    </tr>
                                </table>
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn HeaderText="STT" ItemStyle-HorizontalAlign="Center" HeaderStyle-HorizontalAlign="Center">
                            <HeaderStyle Width="260px" />
                            <HeaderTemplate>
                                <table style="border-collapse: collapse !important; height: 45px; width: 260px;">
                                    <tr>
                                        <td colspan="5" style="border-left: none !important; border-top: none !important;
                                            border-right: none !important; border-bottom: 1px solid #96CAFF !important; padding-bottom: 0px !important;">
                                            Kiểm tra 1 tiết
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="border-left: none !important; border-top: none !important; border-right: 1px solid #96CAFF !important;
                                            border-bottom: none !important; width: 50px">
                                            Lần 1
                                        </td>
                                        <td style="border-left: none !important; border-top: none !important; border-right: 1px solid #96CAFF !important;
                                            border-bottom: none !important;">
                                            Lần 2
                                        </td>
                                        <td style="border-left: none !important; border-top: none !important; border-right: 1px solid #96CAFF !important;
                                            border-bottom: none !important;">
                                            Lần 3
                                        </td>
                                        <td style="border-left: none !important; border-top: none !important; border-right: 1px solid #96CAFF !important;
                                            border-bottom: none !important;">
                                            Lần 4
                                        </td>
                                        <td style="border-left: none !important; border-top: none !important; border-right: none !important;
                                            border-bottom: none !important;">
                                            Lần 5
                                        </td>
                                    </tr>
                                </table>
                            </HeaderTemplate>
                            <ItemStyle />
                            <ItemTemplate>
                                <table style="border-collapse: collapse !important; height: 30px; width: 250px !important;">
                                    <tr>
                                        <td align="center" style="border-left: none !important; border-top: none !important;
                                            border-right: 1px solid #96CAFF !important; border-bottom: none !important;
                                            width: 34px;">
                                            <%# Eval("T1")%>
                                        </td>
                                        <td align="center" style="border-left: none !important; border-top: none !important;
                                            border-right: 1px solid #96CAFF !important; border-bottom: none !important;
                                            width: 38px;">
                                            <%# Eval("T2")%>
                                        </td>
                                        <td align="center" style="border-left: none !important; border-top: none !important;
                                            border-right: 1px solid #96CAFF !important; border-bottom: none !important;
                                            width: 40px;">
                                            <%# Eval("T3")%>
                                        </td>
                                        <td align="center" style="border-left: none !important; border-top: none !important;
                                            border-right: 1px solid #96CAFF !important; border-bottom: none !important;
                                            width: 40px;">
                                            <%# Eval("T4")%>
                                        </td>
                                        <td align="center" style="border-left: none !important; border-top: none !important;
                                            border-right: none !important; border-bottom: none !important; width: 40px;">
                                            <%# Eval("T5")%>
                                        </td>
                                    </tr>
                                </table>
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridBoundColumn DataField="DiemThi" ItemStyle-HorizontalAlign="Center" HeaderStyle-HorizontalAlign="Center"
                            HeaderText="Điểm thi" UniqueName="DiemThi" ReadOnly="True" HeaderStyle-Width="50">
                            <ItemStyle HorizontalAlign="Left" />
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="DiemTBM" ItemStyle-HorizontalAlign="Center" HeaderStyle-HorizontalAlign="Center"
                            HeaderText="TB" UniqueName="DiemTBM" ReadOnly="True" HeaderStyle-Width="50">
                            <ItemStyle HorizontalAlign="Left" />
                        </telerik:GridBoundColumn>
                    </Columns>
                    <EditFormSettings>
                        <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                        </EditColumn>
                    </EditFormSettings>
                </MasterTableView>
                <ClientSettings>
                    <Selecting AllowRowSelect="false" />
                </ClientSettings>
                <FilterMenu EnableImageSprites="False">
                </FilterMenu>
            </telerik:RadGrid>
        </div>
        <div style="width: 863px; padding-left: 115px;">
            <table style="background: #2119B2; width: 843px;">
                <tr>
                    <td class="style10">
                        <span class="style1">ĐTB:<asp:Label ID="lblDTB" runat="server" ForeColor="Red" Font-Bold="True"></asp:Label>
                    </td>
                    <td class="style11">
                        <span class="style1">Loại:</span>
                        <asp:Label ID="lbl_loai" runat="server" ForeColor="Red" Font-Bold="True"></asp:Label>
                    </td>
                    <td class="style12">
                        <span class="style1">Hạng:</span>
                        <asp:Label ID="lbl_hang" runat="server" ForeColor="Red" Font-Bold="True"></asp:Label>
                    </td>
                    <td>
                        <span class="style1">Hạnh kiểm:</span>
                        <asp:Label ID="lblhk" runat="server" ForeColor="Red" Font-Bold="True"></asp:Label>
                    </td>
                    <td>
                        <span class="style1">DHTĐ:</span>
                        <asp:Label ID="lbl_dntd" runat="server" ForeColor="Red" Font-Bold="True"></asp:Label>
                    </td>
                </tr>
            </table>
        </div>
        
    </div>
    <div style="width: 980px; margin: 0 auto; text-align: center; padding: 20px">
        <p>
            TRƯỜNG THPT TÔN ĐỨC THẮNG - NINH THUẬN ĐC: Quốc Lộ 1A - Tân Hải - Ninh Hải - Ninh
            Thuận.</p>
    </div>
    </form>
</body>
</html>
